package cn.edu.scau.cmil.luochenghao.comprehensive;
import javax.swing.*;
import javax.swing.table.AbstractTableModel;
import java.awt.*;
public class Transcript extends AbstractTableModel{
	public Object[] columnNames= {"","","","","","",""};
	public Object[][] rowData;
	public String getColumnName(int column) {
        return columnNames[column].toString();
    }
	public int getRowCount() {
        return rowData.length;
    }
	public int getColumnCount() {
        return columnNames.length;
    }
	public Object getValueAt(int rowIndex, int columnIndex) {
        return rowData[rowIndex][columnIndex];
    }
}
